//
//  PPAlbumScrollView.h
//  pickpic
//
//  Created by 胡文广 on 2017/4/29.
//  Copyright © 2017年 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PPAlbumScrollView;
@protocol PPAlbumScrollViewDelegate <NSObject>

@optional
- (void)albumCoverViewEndEditView:(PPAlbumScrollView *)view cutFrame:(CGRect)cutFrame;
- (void)albumImageBeginEditorView:(PPAlbumScrollView *)view;
- (void)albumImageEndEditorView:(PPAlbumScrollView *)view;
- (void)albumImageClickView:(PPAlbumScrollView *)view scrollView:(UIScrollView *)scrollview albumView:(UIImageView *)imageView;
@end

@class PPTemplateCoverFrame,PPTemplateInnerModel;
@interface PPAlbumScrollView : UIView

@property (nonatomic,strong) PPTemplateCoverFrame *coverF;


@property (nonatomic,strong) PPTemplateInnerModel *innerModel;

//@property (nonatomic,strong) UIImage *albumImg;

//- (void)noticeEditEnable;

@property (nonatomic,weak) id<PPAlbumScrollViewDelegate> delegate;

@property (nonatomic,assign) CGRect cutRect;

/*
 * 是否开启状态
 */
@property (nonatomic,assign) BOOL isOpenEdit;

//取消图片编辑
- (void)cancelEdit;

- (UIImage *)cutImage;
@property (nonatomic,strong,readwrite) UIImageView *albumImageView;
//@property (nonatomic,strong,readwrite) UIScrollView *scrollView;

@end
